/*
 * Decompiled with CFR 0.150.
 * 
 * Could not load the following classes:
 *  cn.hutool.core.collection.CollUtil
 *  cn.hutool.core.date.DateUtil
 *  cn.hutool.core.util.ObjectUtil
 *  cn.hutool.core.util.StrUtil
 *  com.alibaba.fastjson.JSON
 *  com.alibaba.fastjson.JSONObject
 *  de.felixroske.jfxsupport.FXMLController
 *  javafx.collections.FXCollections
 *  javafx.collections.ObservableList
 *  javafx.event.EventHandler
 *  javafx.fxml.FXML
 *  javafx.fxml.Initializable
 *  javafx.geometry.Insets
 *  javafx.scene.Node
 *  javafx.scene.control.Alert
 *  javafx.scene.control.Alert$AlertType
 *  javafx.scene.control.Button
 *  javafx.scene.control.CheckBox
 *  javafx.scene.control.ChoiceBox
 *  javafx.scene.control.DatePicker
 *  javafx.scene.control.Pagination
 *  javafx.scene.control.ScrollPane
 *  javafx.scene.control.TableCell
 *  javafx.scene.control.TableColumn
 *  javafx.scene.control.TableView
 *  javafx.scene.control.TextField
 *  javafx.scene.control.cell.PropertyValueFactory
 *  javafx.scene.input.KeyCode
 *  javafx.scene.input.KeyEvent
 *  javafx.scene.layout.HBox
 *  javafx.scene.layout.VBox
 *  javafx.scene.text.Text
 *  javafx.stage.Modality
 *  javafx.util.Callback
 *  javafx.util.StringConverter
 *  org.springframework.beans.factory.annotation.Autowired
 *  org.springframework.util.CollectionUtils
 */
package com.gys.controller.returnDepot;

import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.gys.GysApplication;
import com.gys.common.business.DepotUtil;
import com.gys.common.business.SaleScheduleSettingUtil;
import com.gys.common.data.HttpJson;
import com.gys.common.data.PageInfo;
import com.gys.common.util.CacheUtil;
import com.gys.common.util.CommonUtil;
import com.gys.common.util.ConstUtil;
import com.gys.controller.BaseController;
import com.gys.controller.index.IndexController;
import com.gys.controller.returnDepot.AddDepotController;
import com.gys.data.accept.GsdcEmp;
import com.gys.data.deviceCheck.GsdcStatus;
import com.gys.data.example.GetLoginStoreOutData;
import com.gys.data.example.GetUserOutData;
import com.gys.data.returnDepot.GetDepotDetailOutData;
import com.gys.data.returnDepot.GetDepotInData;
import com.gys.data.returnDepot.GetDepotOutData;
import com.gys.data.saleScheduleSetting.GetSaleScheduleInData;
import com.gys.view.returnDepot.AddView;
import de.felixroske.jfxsupport.FXMLController;
import java.math.BigDecimal;
import java.net.URL;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.control.Alert;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.DatePicker;
import javafx.scene.control.Pagination;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TableCell;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.stage.Modality;
import javafx.util.Callback;
import javafx.util.StringConverter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.CollectionUtils;

@FXMLController
public class DepotController
extends BaseController
implements Initializable {
    private final int pageSize = ConstUtil.DEFAULT_PAGESIZE;
    private final int defaultPageCount = ConstUtil.DEFAULT_PAGECOUNT;
    private ObservableList<GetDepotOutData> basicObservableTableList = FXCollections.observableArrayList(new ArrayList());
    private ObservableList<GetDepotOutData> observableTableList = FXCollections.observableArrayList(new ArrayList());
    private ObservableList<GetDepotDetailOutData> detailObservableTableList = FXCollections.observableArrayList(new ArrayList());
    @FXML
    private ScrollPane scrollPane;
    @FXML
    private VBox vBox;
    @FXML
    private Button enterBtn;
    @FXML
    private Button addBtn;
    @FXML
    private HBox queryHbox;
    @FXML
    private HBox queryHbox1;
    @FXML
    private HBox boxView;
    @FXML
    private TextField voucherIdQuery;
    @FXML
    private TextField amountQuery;
    @FXML
    private TextField bathCodeQuery;
    @FXML
    private TextField productCodeQuery;
    @FXML
    private ChoiceBox<GsdcEmp> acceptPeopleQuery;
    @FXML
    private ChoiceBox<GsdcStatus> statusQuery;
    @FXML
    private DatePicker updateDateQuery;
    @FXML
    private DatePicker acceptDateQuery;
    @FXML
    private TableView<GetDepotOutData> tableView;
    @FXML
    private TableView<GetDepotOutData> tableViewTwo;
    @FXML
    private TableView<GetDepotDetailOutData> tableViewThree;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhVoucherId1;
    @FXML
    private TableColumn<GetDepotOutData, String> status1;
    @FXML
    private TableColumn<GetDepotOutData, String> status2;
    @FXML
    private TableColumn<GetDepotOutData, String> status3;
    @FXML
    private TableColumn<GetDepotOutData, String> status4;
    @FXML
    private TableColumn<GetDepotOutData, CheckBox> checkBox;
    @FXML
    private TableColumn<GetDepotOutData, String> index;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhVoucherId;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhDate;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhFinishDate;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhFrom;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhTo;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhType;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhTotalAmt;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhTotalQty;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhStatus;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhEmp;
    @FXML
    private TableColumn<GetDepotOutData, String> gsrdhRemaks;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddSerial;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddProId;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proName;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proPrice;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddBatchNo;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddBatch;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddValidDate;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddStockQty;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddRetdepQty;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddRetdepCause;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddStartQty;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddReviseQty;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> gsrddStockStatus;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proFactoryName;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proPlace;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proForm;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proUnit;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proSpecs;
    @FXML
    private TableColumn<GetDepotDetailOutData, String> proRegisterNo;
    @FXML
    private Pagination pagination;
    @FXML
    private Insets tableViewInsets;
    @Autowired
    private AddDepotController addDepotController;
    @Autowired
    private IndexController indexController;
    List<GetUserOutData> outDataList = new ArrayList<GetUserOutData>();
    private ObservableList<String> empOptions;
    List<String> emps = new ArrayList<String>();
    Map<String, GetUserOutData> empsMap = new HashMap<String, GetUserOutData>();
    public String voucherId;

    public void initialize(URL location, ResourceBundle resources) {
        this.scrollPane.setPrefWidth(this.getContentWidth());
        this.scrollPane.setPrefHeight(this.getContentHeight());
        this.vBox.setPrefWidth(this.getContentWidth());
        this.vBox.setPrefHeight(this.getContentHeight());
        this.tableView.setPrefWidth(this.getContentWidth());
        this.tableViewTwo.setPrefWidth(this.getContentWidth());
        this.tableViewThree.setPrefWidth(this.getContentWidth());
        this.pagination.setPrefWidth(this.getContentWidth());
        this.statusQuery.getItems().addAll(this.getAllStatus());
        this.statusQuery.converterProperty().set(new StringConverter<GsdcStatus>(){

            public String toString(GsdcStatus object) {
                return object.getName();
            }

            public GsdcStatus fromString(String string) {
                return null;
            }
        });
        StringConverter converter = CommonUtil.dataPickerFormat("yyyyMMdd");
        this.updateDateQuery.setConverter(converter);
        this.acceptDateQuery.setConverter(converter);
        this.pagination.setPageFactory((Callback)new Callback<Integer, Node>(){

            public Node call(Integer pageNum) {
                return DepotController.this.initTable(pageNum);
            }
        });
        this.emps.clear();
        this.outDataList.clear();
        this.empsMap.clear();
        GetSaleScheduleInData inData = new GetSaleScheduleInData();
        inData.setClientId(((GetUserOutData)CacheUtil.get("logInUser")).getClient());
        inData.setGsegBrId(((GetLoginStoreOutData)CacheUtil.get("store")).getStoCode());
        HttpJson httpJson = SaleScheduleSettingUtil.queryUser(CommonUtil.convertToMap(inData));
        if (!httpJson.isSuccess()) {
            Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", httpJson.getMsg());
            alert.showAndWait();
            return;
        }
        this.outDataList = JSON.parseArray((String)httpJson.getMsg(), GetUserOutData.class);
        ArrayList list = new ArrayList();
        this.outDataList.forEach(item -> {
            this.emps.add(item.getLoginName());
            this.empsMap.put(item.getLoginName(), (GetUserOutData)item);
            GsdcEmp emp = new GsdcEmp(item.getUserId(), item.getLoginName());
            list.add(emp);
        });
        this.empOptions = FXCollections.observableArrayList(this.emps);
        this.acceptPeopleQuery.getItems().addAll(list);
        this.acceptPeopleQuery.converterProperty().set(new StringConverter<GsdcEmp>(){

            public String toString(GsdcEmp object) {
                return object.getName();
            }

            public GsdcEmp fromString(String string) {
                return null;
            }
        });
    }

    @Override
    public void init() {
        this.indexController.scrollContentPane.setOnKeyReleased((EventHandler)new EventHandler<KeyEvent>(){

            public void handle(KeyEvent event) {
                if (event.getCode() == KeyCode.F1) {
                    DepotController.this.add();
                    return;
                }
                if (event.getCode() == KeyCode.ENTER) {
                    DepotController.this.searchData();
                }
            }
        });
        this.pagination.setPageFactory((Callback)new Callback<Integer, Node>(){

            public Node call(Integer pageNum) {
                return DepotController.this.initTable(pageNum);
            }
        });
    }

    @FXML
    private void searchData() {
        Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", null);
        if (StrUtil.isBlank((CharSequence)this.voucherIdQuery.getText().trim()) && ObjectUtil.isNull(this.statusQuery.getValue()) && ObjectUtil.isNull(this.acceptPeopleQuery.getValue()) && StrUtil.isBlank((CharSequence)this.productCodeQuery.getText().trim()) && ObjectUtil.isNull(this.updateDateQuery.getValue()) && ObjectUtil.isNull(this.acceptDateQuery.getValue()) && StrUtil.isBlank((CharSequence)this.amountQuery.getText().trim()) && StrUtil.isBlank((CharSequence)this.bathCodeQuery.getText().trim())) {
            alert.setContentText("\u5fc5\u987b\u81f3\u5c11\u586b\u5199\u4e00\u9879\u5185\u5bb9\u8fdb\u884c\u67e5\u8be2\uff01");
            alert.showAndWait();
            return;
        }
        this.initTable(0);
        this.pagination.setCurrentPageIndex(0);
    }

    @FXML
    private void reset() {
        this.voucherIdQuery.clear();
        this.amountQuery.clear();
        this.statusQuery.setValue(null);
        this.updateDateQuery.setValue(null);
        this.productCodeQuery.clear();
        this.bathCodeQuery.clear();
        this.acceptPeopleQuery.setValue(null);
        this.acceptDateQuery.setValue(null);
    }

    @FXML
    private void add() {
        this.voucherId = "";
        this.addDepotController.init();
        GysApplication.showView(AddView.class, (Modality)Modality.APPLICATION_MODAL);
    }

    public TableView<GetDepotOutData> initTable(int pageNum) {
        List<GetDepotOutData> dataList;
        PageInfo pageInfo;
        HttpJson rsp;
        GetDepotInData inData = new GetDepotInData();
        inData.setPageNum(pageNum + 1);
        inData.setPageSize(this.pageSize);
        inData.setGsrdhType("1");
        if (ObjectUtil.isNotEmpty(this.voucherIdQuery.getText().trim())) {
            inData.setGsrdhVoucherId(this.voucherIdQuery.getText().trim());
        }
        if (ObjectUtil.isNotNull(this.statusQuery.getValue())) {
            inData.setGsrdhStatus(((GsdcStatus)this.statusQuery.getValue()).getCode());
        }
        if (ObjectUtil.isNotNull(this.acceptPeopleQuery.getValue())) {
            inData.setGsrdhEmp(((GsdcEmp)this.acceptPeopleQuery.getValue()).getCode());
        }
        if (ObjectUtil.isNotEmpty(this.productCodeQuery.getText().trim())) {
            inData.setProId(this.productCodeQuery.getText().trim());
        }
        if (ObjectUtil.isNotEmpty(this.amountQuery.getText().trim())) {
            inData.setGsrdhTotalAmt(new BigDecimal(this.amountQuery.getText().trim()));
        }
        if (ObjectUtil.isNotEmpty(this.bathCodeQuery.getText().trim())) {
            inData.setBatchNo(this.bathCodeQuery.getText().trim());
        }
        if (ObjectUtil.isNotNull(this.updateDateQuery.getValue())) {
            inData.setGsrdhDate(DateUtil.format((Date)DateUtil.parse((String)((LocalDate)this.updateDateQuery.getValue()).toString()), (String)"yyyyMMdd"));
        }
        if (ObjectUtil.isNotNull(this.acceptDateQuery.getValue())) {
            inData.setGsrdhFinishDate(DateUtil.format((Date)DateUtil.parse((String)((LocalDate)this.acceptDateQuery.getValue()).toString()), (String)"yyyyMMdd"));
        }
        if ((rsp = DepotUtil.selectList(inData)).isSuccess()) {
            pageInfo = (PageInfo)JSON.parseObject((String)rsp.getMsg(), PageInfo.class);
            if (pageInfo != null && CollUtil.isNotEmpty(pageInfo.getList())) {
                ArrayList<GetDepotOutData> listTemp = new ArrayList<GetDepotOutData>();
                for (int i = 0; i < pageInfo.getList().size(); ++i) {
                    String str = JSONObject.toJSONString(pageInfo.getList().get(i));
                    GetDepotOutData outData = (GetDepotOutData)JSONObject.parseObject((String)str, GetDepotOutData.class);
                    if ("1".equals(outData.getGsrdhStatus())) {
                        outData.setGsrdhStatus("\u7533\u8bf7\u5f85\u5ba1\u6838");
                    }
                    if ("2".equals(outData.getGsrdhStatus())) {
                        outData.setGsrdhStatus("\u7533\u8bf7\u5f85\u786e\u8ba4");
                    }
                    if ("3".equals(outData.getGsrdhStatus())) {
                        outData.setGsrdhStatus("\u9000\u5e93\u5f85\u786e\u8ba4");
                    }
                    if ("4".equals(outData.getGsrdhStatus())) {
                        outData.setGsrdhStatus("\u9a8c\u6536\u5f85\u786e\u8ba4");
                    }
                    if ("5".equals(outData.getGsrdhStatus())) {
                        outData.setGsrdhStatus("\u9000\u5e93\u5df2\u5b8c\u6210");
                    }
                    if ("1".equals(outData.getGsrdhType())) {
                        outData.setGsrdhType("\u9000\u5e93\u5355(\u4ed3\u5e93)");
                    } else {
                        outData.setGsrdhType("\u9000\u5e93\u5355(\u4f9b\u5e94\u5546)");
                    }
                    outData.setIndex(i + 1);
                    listTemp.add(outData);
                }
                pageInfo.setList(listTemp);
            }
        } else {
            Alert alert = this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", rsp.getMsg());
            alert.showAndWait();
            return new TableView();
        }
        if (pageInfo != null && CollUtil.isNotEmpty(pageInfo.getList())) {
            this.pagination.setPageCount(pageInfo.getPages());
            dataList = pageInfo.getList();
        } else {
            this.pagination.setPageCount(this.defaultPageCount);
            dataList = new ArrayList();
        }
        this.basicObservableTableList.clear();
        this.observableTableList.clear();
        this.detailObservableTableList.clear();
        this.observableTableList = FXCollections.observableArrayList(dataList);
        this.bingTableCell();
        this.tableViewTwo.setItems(this.observableTableList);
        return this.tableViewTwo;
    }

    private void bingTableCell() {
        this.index.setCellValueFactory((Callback)new PropertyValueFactory(this.index.getId()));
        this.checkBox.setCellValueFactory(cellData -> ((GetDepotOutData)cellData.getValue()).getCheckBox().getCustomCheckBox());
        this.checkBox.setCellFactory(col -> {
            TableCell<GetDepotOutData, CheckBox> cell = new TableCell<GetDepotOutData, CheckBox>(){

                protected void updateItem(CheckBox item, boolean empty) {
                    super.updateItem(item, empty);
                    this.setGraphic((Node)item);
                    if (item != null) {
                        item.setOnMouseClicked(col -> {
                            if (CollUtil.isEmpty((Collection)DepotController.this.observableTableList)) {
                                return;
                            }
                            int index = this.getIndex();
                            for (int i = 0; i < DepotController.this.observableTableList.size(); ++i) {
                                if (i == index) continue;
                                ((GetDepotOutData)DepotController.this.observableTableList.get(i)).getCheckBox().setSelectStatus(false);
                            }
                            if (((GetDepotOutData)DepotController.this.observableTableList.get(index)).getCheckBox().isSelected().booleanValue()) {
                                ArrayList<GetDepotOutData> list = new ArrayList<>();
                                ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus1("\u672a\u5b8c\u6210");
                                ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus2("\u672a\u5b8c\u6210");
                                ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus3("\u672a\u5b8c\u6210");
                                ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus4("\u672a\u5b8c\u6210");
                                GetDepotOutData depotOutData = new GetDepotOutData();
                                depotOutData.setGsrdhVoucherId1("\u5feb\u6377\u5165\u53e3");
                                if ("\u7533\u8bf7\u5f85\u5ba1\u6838".equals(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhStatus())) {
                                    depotOutData.setStatus1("1");
                                }
                                if ("\u7533\u8bf7\u5f85\u786e\u8ba4".equals(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhStatus())) {
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus1("\u5ba1\u6838\u5b8c\u6210");
                                }
                                if ("\u9000\u5e93\u5f85\u786e\u8ba4".equals(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhStatus())) {
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus1("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus2("\u5ba1\u6838\u5b8c\u6210");
                                    depotOutData.setStatus3("1");
                                }
                                if ("\u9a8c\u6536\u5f85\u786e\u8ba4".equals(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhStatus())) {
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus1("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus2("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus3("\u5ba1\u6838\u5b8c\u6210");
                                }
                                if ("\u9000\u5e93\u5df2\u5b8c\u6210".equals(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhStatus())) {
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus1("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus2("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus3("\u5ba1\u6838\u5b8c\u6210");
                                    ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setStatus4("\u5ba1\u6838\u5b8c\u6210");
                                }
                                ((GetDepotOutData)DepotController.this.observableTableList.get(index)).setGsrdhVoucherId1(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhVoucherId());
                                list.add(DepotController.this.observableTableList.get(index));
                                list.add(depotOutData);
                                DepotController.this.initBasicTableView(list);
                                GetDepotInData inData = new GetDepotInData();
                                inData.setClientId(((GetUserOutData)CacheUtil.get("logInUser")).getClient());
                                inData.setGsrdhVoucherId(((GetDepotOutData)DepotController.this.observableTableList.get(index)).getGsrdhVoucherId());
                                inData.setStoreCode(((GetLoginStoreOutData)CacheUtil.get("store")).getStoCode());
                                List<GetDepotDetailOutData> dataList = new ArrayList();
                                HttpJson httpJson = DepotUtil.queryDetail(inData);
                                if (httpJson.isSuccess()) {
                                    dataList = JSON.parseArray((String)httpJson.getMsg(), GetDepotDetailOutData.class);
                                } else {
                                    Alert alert = DepotController.this.createAlert(Alert.AlertType.INFORMATION, "\u63d0\u793a\u4fe1\u606f", httpJson.getMsg());
                                    alert.showAndWait();
                                }
                                for (GetDepotDetailOutData detailOutData : dataList) {
                                    if ("1".equals(detailOutData.getGsrddRetdepCause())) {
                                        detailOutData.setGsrddRetdepCause("\u6ede\u9500\u8c03\u5e93");
                                    }
                                    if ("2".equals(detailOutData.getGsrddRetdepCause())) {
                                        detailOutData.setGsrddRetdepCause("\u8d28\u91cf\u95ee\u9898");
                                    }
                                    if ("3".equals(detailOutData.getGsrddRetdepCause())) {
                                        detailOutData.setGsrddRetdepCause("\u5230\u8d27\u5dee\u5f02");
                                    }
                                    if ("4".equals(detailOutData.getGsrddRetdepCause())) {
                                        detailOutData.setGsrddRetdepCause("\u516c\u53f8\u53ec\u56de");
                                    }
                                    if ("1".equals(detailOutData.getGsrddStockStatus())) {
                                        detailOutData.setGsrddStockStatus("\u7533\u8bf7\u5f85\u5ba1\u6838");
                                    }
                                    if ("2".equals(detailOutData.getGsrddStockStatus())) {
                                        detailOutData.setGsrddStockStatus("\u7533\u8bf7\u5f85\u786e\u8ba4");
                                    }
                                    if ("3".equals(detailOutData.getGsrddStockStatus())) {
                                        detailOutData.setGsrddStockStatus("\u9000\u5e93\u5f85\u786e\u8ba4");
                                    }
                                    if ("4".equals(detailOutData.getGsrddStockStatus())) {
                                        detailOutData.setGsrddStockStatus("\u9a8c\u6536\u5f85\u786e\u8ba4");
                                    }
                                    if (!"5".equals(detailOutData.getGsrddStockStatus())) continue;
                                    detailOutData.setGsrddStockStatus("\u9000\u5e93\u5df2\u5b8c\u6210");
                                }
                                DepotController.this.initDetailTableView(dataList);
                            } else {
                                DepotController.this.detailObservableTableList.clear();
                                DepotController.this.basicObservableTableList.clear();
                            }
                        });
                    }
                }
            };
            return cell;
        });
        this.gsrdhVoucherId.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhVoucherId.getId()));
        this.gsrdhDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhDate.getId()));
        this.gsrdhFinishDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhFinishDate.getId()));
        this.gsrdhFrom.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhFrom.getId()));
        this.gsrdhTo.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhTo.getId()));
        this.gsrdhType.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhType.getId()));
        this.gsrdhTotalAmt.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhTotalAmt.getId()));
        this.gsrdhTotalQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhTotalQty.getId()));
        this.gsrdhStatus.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhStatus.getId()));
        this.gsrdhEmp.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhEmp.getId()));
        this.gsrdhRemaks.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhRemaks.getId()));
    }

    private TableView<GetDepotOutData> initBasicTableView(List<GetDepotOutData> dataList) {
        this.basicObservableTableList.clear();
        this.basicObservableTableList = FXCollections.observableArrayList(dataList);
        this.gsrdhVoucherId1.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrdhVoucherId1.getId()));
        this.status1.setCellValueFactory((Callback)new PropertyValueFactory(this.status1.getId()));
        this.status2.setCellValueFactory((Callback)new PropertyValueFactory(this.status2.getId()));
        this.status3.setCellValueFactory((Callback)new PropertyValueFactory(this.status3.getId()));
        this.status4.setCellValueFactory((Callback)new PropertyValueFactory(this.status4.getId()));
        this.tableView.setItems(this.basicObservableTableList);
        this.button(this.status1);
        this.button(this.status3);
        return this.tableView;
    }

    private TableView<GetDepotDetailOutData> initDetailTableView(List<GetDepotDetailOutData> dataList) {
        this.detailObservableTableList.clear();
        this.detailObservableTableList = FXCollections.observableArrayList(dataList);
        this.bingDetailTableCell();
        this.tableViewThree.setItems(this.detailObservableTableList);
        return this.tableViewThree;
    }

    private void bingDetailTableCell() {
        this.gsrddSerial.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddSerial.getId()));
        this.gsrddProId.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddProId.getId()));
        this.proName.setCellValueFactory((Callback)new PropertyValueFactory(this.proName.getId()));
        this.proPrice.setCellValueFactory((Callback)new PropertyValueFactory(this.proPrice.getId()));
        this.gsrddBatchNo.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddBatchNo.getId()));
        this.gsrddBatch.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddBatch.getId()));
        this.gsrddValidDate.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddValidDate.getId()));
        this.gsrddStockQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddStockQty.getId()));
        this.gsrddRetdepQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddRetdepQty.getId()));
        this.gsrddRetdepCause.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddRetdepCause.getId()));
        this.gsrddStartQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddStartQty.getId()));
        this.gsrddReviseQty.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddReviseQty.getId()));
        this.proFactoryName.setCellValueFactory((Callback)new PropertyValueFactory(this.proFactoryName.getId()));
        this.proPlace.setCellValueFactory((Callback)new PropertyValueFactory(this.proPlace.getId()));
        this.proForm.setCellValueFactory((Callback)new PropertyValueFactory(this.proForm.getId()));
        this.proUnit.setCellValueFactory((Callback)new PropertyValueFactory(this.proUnit.getId()));
        this.proSpecs.setCellValueFactory((Callback)new PropertyValueFactory(this.proSpecs.getId()));
        this.proRegisterNo.setCellValueFactory((Callback)new PropertyValueFactory(this.proRegisterNo.getId()));
        this.gsrddStockStatus.setCellValueFactory((Callback)new PropertyValueFactory(this.gsrddStockStatus.getId()));
    }

    public void button(TableColumn<GetDepotOutData, String> column) {
        column.setCellFactory(tc -> {
            final Button button = new Button("\u5feb\u901f\u8fdb\u5165");
            TableCell<GetDepotOutData, String> cell = new TableCell<GetDepotOutData, String>(){

                protected void updateItem(String chuzhi, boolean empty) {
                    super.updateItem(chuzhi, empty);
                    if (empty) {
                        this.setText(null);
                        this.setGraphic(null);
                    } else if (this.getIndex() == 1) {
                        if (!"1".equals(chuzhi)) {
                            button.setDisable(true);
                        }
                        this.setGraphic((Node)button);
                    } else {
                        Text text = new Text();
                        text.setText(chuzhi);
                        this.setGraphic((Node)text);
                    }
                }
            };
            button.setOnMouseClicked(e -> {
                List<Integer> indexList = this.getSelectIndex();
                int index = indexList.get(0);
                GetDepotOutData outData = (GetDepotOutData)this.observableTableList.get(index - 1);
                this.voucherId = outData.getGsrdhVoucherId();
                this.addDepotController.init();
                GysApplication.showView(AddView.class, (Modality)Modality.APPLICATION_MODAL);
            });
            return cell;
        });
    }

    private List<GsdcStatus> getAllStatus() {
        ArrayList<GsdcStatus> list = new ArrayList<GsdcStatus>();
        list.add(new GsdcStatus("1", "\u7533\u8bf7\u5f85\u5ba1\u6838"));
        list.add(new GsdcStatus("2", "\u7533\u8bf7\u5f85\u786e\u8ba4"));
        list.add(new GsdcStatus("3", "\u9000\u5e93\u5f85\u786e\u8ba4"));
        list.add(new GsdcStatus("4", "\u9a8c\u6536\u5f85\u786e\u8ba4"));
        list.add(new GsdcStatus("5", "\u9000\u5e93\u5df2\u5b8c\u6210"));
        return list;
    }

    private List<Integer> getSelectIndex() {
        ArrayList<Integer> ids = new ArrayList<Integer>();
        if (!CollectionUtils.isEmpty(this.observableTableList)) {
            for (GetDepotOutData i : this.observableTableList) {
                if (!i.getCheckBox().isSelected().booleanValue()) continue;
                ids.add(i.getIndex());
            }
        }
        return ids;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public int getDefaultPageCount() {
        return this.defaultPageCount;
    }

    public ObservableList<GetDepotOutData> getBasicObservableTableList() {
        return this.basicObservableTableList;
    }

    public ObservableList<GetDepotOutData> getObservableTableList() {
        return this.observableTableList;
    }

    public ObservableList<GetDepotDetailOutData> getDetailObservableTableList() {
        return this.detailObservableTableList;
    }

    public ScrollPane getScrollPane() {
        return this.scrollPane;
    }

    public VBox getVBox() {
        return this.vBox;
    }

    public Button getEnterBtn() {
        return this.enterBtn;
    }

    public Button getAddBtn() {
        return this.addBtn;
    }

    public HBox getQueryHbox() {
        return this.queryHbox;
    }

    public HBox getQueryHbox1() {
        return this.queryHbox1;
    }

    public HBox getBoxView() {
        return this.boxView;
    }

    public TextField getVoucherIdQuery() {
        return this.voucherIdQuery;
    }

    public TextField getAmountQuery() {
        return this.amountQuery;
    }

    public TextField getBathCodeQuery() {
        return this.bathCodeQuery;
    }

    public TextField getProductCodeQuery() {
        return this.productCodeQuery;
    }

    public ChoiceBox<GsdcEmp> getAcceptPeopleQuery() {
        return this.acceptPeopleQuery;
    }

    public ChoiceBox<GsdcStatus> getStatusQuery() {
        return this.statusQuery;
    }

    public DatePicker getUpdateDateQuery() {
        return this.updateDateQuery;
    }

    public DatePicker getAcceptDateQuery() {
        return this.acceptDateQuery;
    }

    public TableView<GetDepotOutData> getTableView() {
        return this.tableView;
    }

    public TableView<GetDepotOutData> getTableViewTwo() {
        return this.tableViewTwo;
    }

    public TableView<GetDepotDetailOutData> getTableViewThree() {
        return this.tableViewThree;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhVoucherId1() {
        return this.gsrdhVoucherId1;
    }

    public TableColumn<GetDepotOutData, String> getStatus1() {
        return this.status1;
    }

    public TableColumn<GetDepotOutData, String> getStatus2() {
        return this.status2;
    }

    public TableColumn<GetDepotOutData, String> getStatus3() {
        return this.status3;
    }

    public TableColumn<GetDepotOutData, String> getStatus4() {
        return this.status4;
    }

    public TableColumn<GetDepotOutData, CheckBox> getCheckBox() {
        return this.checkBox;
    }

    public TableColumn<GetDepotOutData, String> getIndex() {
        return this.index;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhVoucherId() {
        return this.gsrdhVoucherId;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhDate() {
        return this.gsrdhDate;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhFinishDate() {
        return this.gsrdhFinishDate;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhFrom() {
        return this.gsrdhFrom;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhTo() {
        return this.gsrdhTo;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhType() {
        return this.gsrdhType;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhTotalAmt() {
        return this.gsrdhTotalAmt;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhTotalQty() {
        return this.gsrdhTotalQty;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhStatus() {
        return this.gsrdhStatus;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhEmp() {
        return this.gsrdhEmp;
    }

    public TableColumn<GetDepotOutData, String> getGsrdhRemaks() {
        return this.gsrdhRemaks;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddSerial() {
        return this.gsrddSerial;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddProId() {
        return this.gsrddProId;
    }

    public TableColumn<GetDepotDetailOutData, String> getProName() {
        return this.proName;
    }

    public TableColumn<GetDepotDetailOutData, String> getProPrice() {
        return this.proPrice;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddBatchNo() {
        return this.gsrddBatchNo;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddBatch() {
        return this.gsrddBatch;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddValidDate() {
        return this.gsrddValidDate;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddStockQty() {
        return this.gsrddStockQty;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddRetdepQty() {
        return this.gsrddRetdepQty;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddRetdepCause() {
        return this.gsrddRetdepCause;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddStartQty() {
        return this.gsrddStartQty;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddReviseQty() {
        return this.gsrddReviseQty;
    }

    public TableColumn<GetDepotDetailOutData, String> getGsrddStockStatus() {
        return this.gsrddStockStatus;
    }

    public TableColumn<GetDepotDetailOutData, String> getProFactoryName() {
        return this.proFactoryName;
    }

    public TableColumn<GetDepotDetailOutData, String> getProPlace() {
        return this.proPlace;
    }

    public TableColumn<GetDepotDetailOutData, String> getProForm() {
        return this.proForm;
    }

    public TableColumn<GetDepotDetailOutData, String> getProUnit() {
        return this.proUnit;
    }

    public TableColumn<GetDepotDetailOutData, String> getProSpecs() {
        return this.proSpecs;
    }

    public TableColumn<GetDepotDetailOutData, String> getProRegisterNo() {
        return this.proRegisterNo;
    }

    public Pagination getPagination() {
        return this.pagination;
    }

    public Insets getTableViewInsets() {
        return this.tableViewInsets;
    }

    public AddDepotController getAddDepotController() {
        return this.addDepotController;
    }

    public IndexController getIndexController() {
        return this.indexController;
    }

    public List<GetUserOutData> getOutDataList() {
        return this.outDataList;
    }

    public ObservableList<String> getEmpOptions() {
        return this.empOptions;
    }

    public List<String> getEmps() {
        return this.emps;
    }

    public Map<String, GetUserOutData> getEmpsMap() {
        return this.empsMap;
    }

    public String getVoucherId() {
        return this.voucherId;
    }

    public void setBasicObservableTableList(ObservableList<GetDepotOutData> basicObservableTableList) {
        this.basicObservableTableList = basicObservableTableList;
    }

    public void setObservableTableList(ObservableList<GetDepotOutData> observableTableList) {
        this.observableTableList = observableTableList;
    }

    public void setDetailObservableTableList(ObservableList<GetDepotDetailOutData> detailObservableTableList) {
        this.detailObservableTableList = detailObservableTableList;
    }

    public void setScrollPane(ScrollPane scrollPane) {
        this.scrollPane = scrollPane;
    }

    public void setVBox(VBox vBox) {
        this.vBox = vBox;
    }

    public void setEnterBtn(Button enterBtn) {
        this.enterBtn = enterBtn;
    }

    public void setAddBtn(Button addBtn) {
        this.addBtn = addBtn;
    }

    public void setQueryHbox(HBox queryHbox) {
        this.queryHbox = queryHbox;
    }

    public void setQueryHbox1(HBox queryHbox1) {
        this.queryHbox1 = queryHbox1;
    }

    public void setBoxView(HBox boxView) {
        this.boxView = boxView;
    }

    public void setVoucherIdQuery(TextField voucherIdQuery) {
        this.voucherIdQuery = voucherIdQuery;
    }

    public void setAmountQuery(TextField amountQuery) {
        this.amountQuery = amountQuery;
    }

    public void setBathCodeQuery(TextField bathCodeQuery) {
        this.bathCodeQuery = bathCodeQuery;
    }

    public void setProductCodeQuery(TextField productCodeQuery) {
        this.productCodeQuery = productCodeQuery;
    }

    public void setAcceptPeopleQuery(ChoiceBox<GsdcEmp> acceptPeopleQuery) {
        this.acceptPeopleQuery = acceptPeopleQuery;
    }

    public void setStatusQuery(ChoiceBox<GsdcStatus> statusQuery) {
        this.statusQuery = statusQuery;
    }

    public void setUpdateDateQuery(DatePicker updateDateQuery) {
        this.updateDateQuery = updateDateQuery;
    }

    public void setAcceptDateQuery(DatePicker acceptDateQuery) {
        this.acceptDateQuery = acceptDateQuery;
    }

    public void setTableView(TableView<GetDepotOutData> tableView) {
        this.tableView = tableView;
    }

    public void setTableViewTwo(TableView<GetDepotOutData> tableViewTwo) {
        this.tableViewTwo = tableViewTwo;
    }

    public void setTableViewThree(TableView<GetDepotDetailOutData> tableViewThree) {
        this.tableViewThree = tableViewThree;
    }

    public void setGsrdhVoucherId1(TableColumn<GetDepotOutData, String> gsrdhVoucherId1) {
        this.gsrdhVoucherId1 = gsrdhVoucherId1;
    }

    public void setStatus1(TableColumn<GetDepotOutData, String> status1) {
        this.status1 = status1;
    }

    public void setStatus2(TableColumn<GetDepotOutData, String> status2) {
        this.status2 = status2;
    }

    public void setStatus3(TableColumn<GetDepotOutData, String> status3) {
        this.status3 = status3;
    }

    public void setStatus4(TableColumn<GetDepotOutData, String> status4) {
        this.status4 = status4;
    }

    public void setCheckBox(TableColumn<GetDepotOutData, CheckBox> checkBox) {
        this.checkBox = checkBox;
    }

    public void setIndex(TableColumn<GetDepotOutData, String> index) {
        this.index = index;
    }

    public void setGsrdhVoucherId(TableColumn<GetDepotOutData, String> gsrdhVoucherId) {
        this.gsrdhVoucherId = gsrdhVoucherId;
    }

    public void setGsrdhDate(TableColumn<GetDepotOutData, String> gsrdhDate) {
        this.gsrdhDate = gsrdhDate;
    }

    public void setGsrdhFinishDate(TableColumn<GetDepotOutData, String> gsrdhFinishDate) {
        this.gsrdhFinishDate = gsrdhFinishDate;
    }

    public void setGsrdhFrom(TableColumn<GetDepotOutData, String> gsrdhFrom) {
        this.gsrdhFrom = gsrdhFrom;
    }

    public void setGsrdhTo(TableColumn<GetDepotOutData, String> gsrdhTo) {
        this.gsrdhTo = gsrdhTo;
    }

    public void setGsrdhType(TableColumn<GetDepotOutData, String> gsrdhType) {
        this.gsrdhType = gsrdhType;
    }

    public void setGsrdhTotalAmt(TableColumn<GetDepotOutData, String> gsrdhTotalAmt) {
        this.gsrdhTotalAmt = gsrdhTotalAmt;
    }

    public void setGsrdhTotalQty(TableColumn<GetDepotOutData, String> gsrdhTotalQty) {
        this.gsrdhTotalQty = gsrdhTotalQty;
    }

    public void setGsrdhStatus(TableColumn<GetDepotOutData, String> gsrdhStatus) {
        this.gsrdhStatus = gsrdhStatus;
    }

    public void setGsrdhEmp(TableColumn<GetDepotOutData, String> gsrdhEmp) {
        this.gsrdhEmp = gsrdhEmp;
    }

    public void setGsrdhRemaks(TableColumn<GetDepotOutData, String> gsrdhRemaks) {
        this.gsrdhRemaks = gsrdhRemaks;
    }

    public void setGsrddSerial(TableColumn<GetDepotDetailOutData, String> gsrddSerial) {
        this.gsrddSerial = gsrddSerial;
    }

    public void setGsrddProId(TableColumn<GetDepotDetailOutData, String> gsrddProId) {
        this.gsrddProId = gsrddProId;
    }

    public void setProName(TableColumn<GetDepotDetailOutData, String> proName) {
        this.proName = proName;
    }

    public void setProPrice(TableColumn<GetDepotDetailOutData, String> proPrice) {
        this.proPrice = proPrice;
    }

    public void setGsrddBatchNo(TableColumn<GetDepotDetailOutData, String> gsrddBatchNo) {
        this.gsrddBatchNo = gsrddBatchNo;
    }

    public void setGsrddBatch(TableColumn<GetDepotDetailOutData, String> gsrddBatch) {
        this.gsrddBatch = gsrddBatch;
    }

    public void setGsrddValidDate(TableColumn<GetDepotDetailOutData, String> gsrddValidDate) {
        this.gsrddValidDate = gsrddValidDate;
    }

    public void setGsrddStockQty(TableColumn<GetDepotDetailOutData, String> gsrddStockQty) {
        this.gsrddStockQty = gsrddStockQty;
    }

    public void setGsrddRetdepQty(TableColumn<GetDepotDetailOutData, String> gsrddRetdepQty) {
        this.gsrddRetdepQty = gsrddRetdepQty;
    }

    public void setGsrddRetdepCause(TableColumn<GetDepotDetailOutData, String> gsrddRetdepCause) {
        this.gsrddRetdepCause = gsrddRetdepCause;
    }

    public void setGsrddStartQty(TableColumn<GetDepotDetailOutData, String> gsrddStartQty) {
        this.gsrddStartQty = gsrddStartQty;
    }

    public void setGsrddReviseQty(TableColumn<GetDepotDetailOutData, String> gsrddReviseQty) {
        this.gsrddReviseQty = gsrddReviseQty;
    }

    public void setGsrddStockStatus(TableColumn<GetDepotDetailOutData, String> gsrddStockStatus) {
        this.gsrddStockStatus = gsrddStockStatus;
    }

    public void setProFactoryName(TableColumn<GetDepotDetailOutData, String> proFactoryName) {
        this.proFactoryName = proFactoryName;
    }

    public void setProPlace(TableColumn<GetDepotDetailOutData, String> proPlace) {
        this.proPlace = proPlace;
    }

    public void setProForm(TableColumn<GetDepotDetailOutData, String> proForm) {
        this.proForm = proForm;
    }

    public void setProUnit(TableColumn<GetDepotDetailOutData, String> proUnit) {
        this.proUnit = proUnit;
    }

    public void setProSpecs(TableColumn<GetDepotDetailOutData, String> proSpecs) {
        this.proSpecs = proSpecs;
    }

    public void setProRegisterNo(TableColumn<GetDepotDetailOutData, String> proRegisterNo) {
        this.proRegisterNo = proRegisterNo;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }

    public void setTableViewInsets(Insets tableViewInsets) {
        this.tableViewInsets = tableViewInsets;
    }

    public void setAddDepotController(AddDepotController addDepotController) {
        this.addDepotController = addDepotController;
    }

    public void setIndexController(IndexController indexController) {
        this.indexController = indexController;
    }

    public void setOutDataList(List<GetUserOutData> outDataList) {
        this.outDataList = outDataList;
    }

    public void setEmpOptions(ObservableList<String> empOptions) {
        this.empOptions = empOptions;
    }

    public void setEmps(List<String> emps) {
        this.emps = emps;
    }

    public void setEmpsMap(Map<String, GetUserOutData> empsMap) {
        this.empsMap = empsMap;
    }

    public void setVoucherId(String voucherId) {
        this.voucherId = voucherId;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DepotController)) {
            return false;
        }
        DepotController other = (DepotController)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (this.getPageSize() != other.getPageSize()) {
            return false;
        }
        if (this.getDefaultPageCount() != other.getDefaultPageCount()) {
            return false;
        }
        ObservableList<GetDepotOutData> this$basicObservableTableList = this.getBasicObservableTableList();
        ObservableList<GetDepotOutData> other$basicObservableTableList = other.getBasicObservableTableList();
        if (this$basicObservableTableList == null ? other$basicObservableTableList != null : !this$basicObservableTableList.equals(other$basicObservableTableList)) {
            return false;
        }
        ObservableList<GetDepotOutData> this$observableTableList = this.getObservableTableList();
        ObservableList<GetDepotOutData> other$observableTableList = other.getObservableTableList();
        if (this$observableTableList == null ? other$observableTableList != null : !this$observableTableList.equals(other$observableTableList)) {
            return false;
        }
        ObservableList<GetDepotDetailOutData> this$detailObservableTableList = this.getDetailObservableTableList();
        ObservableList<GetDepotDetailOutData> other$detailObservableTableList = other.getDetailObservableTableList();
        if (this$detailObservableTableList == null ? other$detailObservableTableList != null : !this$detailObservableTableList.equals(other$detailObservableTableList)) {
            return false;
        }
        ScrollPane this$scrollPane = this.getScrollPane();
        ScrollPane other$scrollPane = other.getScrollPane();
        if (this$scrollPane == null ? other$scrollPane != null : !this$scrollPane.equals(other$scrollPane)) {
            return false;
        }
        VBox this$vBox = this.getVBox();
        VBox other$vBox = other.getVBox();
        if (this$vBox == null ? other$vBox != null : !this$vBox.equals(other$vBox)) {
            return false;
        }
        Button this$enterBtn = this.getEnterBtn();
        Button other$enterBtn = other.getEnterBtn();
        if (this$enterBtn == null ? other$enterBtn != null : !this$enterBtn.equals(other$enterBtn)) {
            return false;
        }
        Button this$addBtn = this.getAddBtn();
        Button other$addBtn = other.getAddBtn();
        if (this$addBtn == null ? other$addBtn != null : !this$addBtn.equals(other$addBtn)) {
            return false;
        }
        HBox this$queryHbox = this.getQueryHbox();
        HBox other$queryHbox = other.getQueryHbox();
        if (this$queryHbox == null ? other$queryHbox != null : !this$queryHbox.equals(other$queryHbox)) {
            return false;
        }
        HBox this$queryHbox1 = this.getQueryHbox1();
        HBox other$queryHbox1 = other.getQueryHbox1();
        if (this$queryHbox1 == null ? other$queryHbox1 != null : !this$queryHbox1.equals(other$queryHbox1)) {
            return false;
        }
        HBox this$boxView = this.getBoxView();
        HBox other$boxView = other.getBoxView();
        if (this$boxView == null ? other$boxView != null : !this$boxView.equals(other$boxView)) {
            return false;
        }
        TextField this$voucherIdQuery = this.getVoucherIdQuery();
        TextField other$voucherIdQuery = other.getVoucherIdQuery();
        if (this$voucherIdQuery == null ? other$voucherIdQuery != null : !this$voucherIdQuery.equals(other$voucherIdQuery)) {
            return false;
        }
        TextField this$amountQuery = this.getAmountQuery();
        TextField other$amountQuery = other.getAmountQuery();
        if (this$amountQuery == null ? other$amountQuery != null : !this$amountQuery.equals(other$amountQuery)) {
            return false;
        }
        TextField this$bathCodeQuery = this.getBathCodeQuery();
        TextField other$bathCodeQuery = other.getBathCodeQuery();
        if (this$bathCodeQuery == null ? other$bathCodeQuery != null : !this$bathCodeQuery.equals(other$bathCodeQuery)) {
            return false;
        }
        TextField this$productCodeQuery = this.getProductCodeQuery();
        TextField other$productCodeQuery = other.getProductCodeQuery();
        if (this$productCodeQuery == null ? other$productCodeQuery != null : !this$productCodeQuery.equals(other$productCodeQuery)) {
            return false;
        }
        ChoiceBox<GsdcEmp> this$acceptPeopleQuery = this.getAcceptPeopleQuery();
        ChoiceBox<GsdcEmp> other$acceptPeopleQuery = other.getAcceptPeopleQuery();
        if (this$acceptPeopleQuery == null ? other$acceptPeopleQuery != null : !this$acceptPeopleQuery.equals(other$acceptPeopleQuery)) {
            return false;
        }
        ChoiceBox<GsdcStatus> this$statusQuery = this.getStatusQuery();
        ChoiceBox<GsdcStatus> other$statusQuery = other.getStatusQuery();
        if (this$statusQuery == null ? other$statusQuery != null : !this$statusQuery.equals(other$statusQuery)) {
            return false;
        }
        DatePicker this$updateDateQuery = this.getUpdateDateQuery();
        DatePicker other$updateDateQuery = other.getUpdateDateQuery();
        if (this$updateDateQuery == null ? other$updateDateQuery != null : !this$updateDateQuery.equals(other$updateDateQuery)) {
            return false;
        }
        DatePicker this$acceptDateQuery = this.getAcceptDateQuery();
        DatePicker other$acceptDateQuery = other.getAcceptDateQuery();
        if (this$acceptDateQuery == null ? other$acceptDateQuery != null : !this$acceptDateQuery.equals(other$acceptDateQuery)) {
            return false;
        }
        TableView<GetDepotOutData> this$tableView = this.getTableView();
        TableView<GetDepotOutData> other$tableView = other.getTableView();
        if (this$tableView == null ? other$tableView != null : !this$tableView.equals(other$tableView)) {
            return false;
        }
        TableView<GetDepotOutData> this$tableViewTwo = this.getTableViewTwo();
        TableView<GetDepotOutData> other$tableViewTwo = other.getTableViewTwo();
        if (this$tableViewTwo == null ? other$tableViewTwo != null : !this$tableViewTwo.equals(other$tableViewTwo)) {
            return false;
        }
        TableView<GetDepotDetailOutData> this$tableViewThree = this.getTableViewThree();
        TableView<GetDepotDetailOutData> other$tableViewThree = other.getTableViewThree();
        if (this$tableViewThree == null ? other$tableViewThree != null : !this$tableViewThree.equals(other$tableViewThree)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhVoucherId1 = this.getGsrdhVoucherId1();
        TableColumn<GetDepotOutData, String> other$gsrdhVoucherId1 = other.getGsrdhVoucherId1();
        if (this$gsrdhVoucherId1 == null ? other$gsrdhVoucherId1 != null : !this$gsrdhVoucherId1.equals(other$gsrdhVoucherId1)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$status1 = this.getStatus1();
        TableColumn<GetDepotOutData, String> other$status1 = other.getStatus1();
        if (this$status1 == null ? other$status1 != null : !this$status1.equals(other$status1)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$status2 = this.getStatus2();
        TableColumn<GetDepotOutData, String> other$status2 = other.getStatus2();
        if (this$status2 == null ? other$status2 != null : !this$status2.equals(other$status2)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$status3 = this.getStatus3();
        TableColumn<GetDepotOutData, String> other$status3 = other.getStatus3();
        if (this$status3 == null ? other$status3 != null : !this$status3.equals(other$status3)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$status4 = this.getStatus4();
        TableColumn<GetDepotOutData, String> other$status4 = other.getStatus4();
        if (this$status4 == null ? other$status4 != null : !this$status4.equals(other$status4)) {
            return false;
        }
        TableColumn<GetDepotOutData, CheckBox> this$checkBox = this.getCheckBox();
        TableColumn<GetDepotOutData, CheckBox> other$checkBox = other.getCheckBox();
        if (this$checkBox == null ? other$checkBox != null : !this$checkBox.equals(other$checkBox)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$index = this.getIndex();
        TableColumn<GetDepotOutData, String> other$index = other.getIndex();
        if (this$index == null ? other$index != null : !this$index.equals(other$index)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhVoucherId = this.getGsrdhVoucherId();
        TableColumn<GetDepotOutData, String> other$gsrdhVoucherId = other.getGsrdhVoucherId();
        if (this$gsrdhVoucherId == null ? other$gsrdhVoucherId != null : !this$gsrdhVoucherId.equals(other$gsrdhVoucherId)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhDate = this.getGsrdhDate();
        TableColumn<GetDepotOutData, String> other$gsrdhDate = other.getGsrdhDate();
        if (this$gsrdhDate == null ? other$gsrdhDate != null : !this$gsrdhDate.equals(other$gsrdhDate)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhFinishDate = this.getGsrdhFinishDate();
        TableColumn<GetDepotOutData, String> other$gsrdhFinishDate = other.getGsrdhFinishDate();
        if (this$gsrdhFinishDate == null ? other$gsrdhFinishDate != null : !this$gsrdhFinishDate.equals(other$gsrdhFinishDate)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhFrom = this.getGsrdhFrom();
        TableColumn<GetDepotOutData, String> other$gsrdhFrom = other.getGsrdhFrom();
        if (this$gsrdhFrom == null ? other$gsrdhFrom != null : !this$gsrdhFrom.equals(other$gsrdhFrom)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhTo = this.getGsrdhTo();
        TableColumn<GetDepotOutData, String> other$gsrdhTo = other.getGsrdhTo();
        if (this$gsrdhTo == null ? other$gsrdhTo != null : !this$gsrdhTo.equals(other$gsrdhTo)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhType = this.getGsrdhType();
        TableColumn<GetDepotOutData, String> other$gsrdhType = other.getGsrdhType();
        if (this$gsrdhType == null ? other$gsrdhType != null : !this$gsrdhType.equals(other$gsrdhType)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhTotalAmt = this.getGsrdhTotalAmt();
        TableColumn<GetDepotOutData, String> other$gsrdhTotalAmt = other.getGsrdhTotalAmt();
        if (this$gsrdhTotalAmt == null ? other$gsrdhTotalAmt != null : !this$gsrdhTotalAmt.equals(other$gsrdhTotalAmt)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhTotalQty = this.getGsrdhTotalQty();
        TableColumn<GetDepotOutData, String> other$gsrdhTotalQty = other.getGsrdhTotalQty();
        if (this$gsrdhTotalQty == null ? other$gsrdhTotalQty != null : !this$gsrdhTotalQty.equals(other$gsrdhTotalQty)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhStatus = this.getGsrdhStatus();
        TableColumn<GetDepotOutData, String> other$gsrdhStatus = other.getGsrdhStatus();
        if (this$gsrdhStatus == null ? other$gsrdhStatus != null : !this$gsrdhStatus.equals(other$gsrdhStatus)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhEmp = this.getGsrdhEmp();
        TableColumn<GetDepotOutData, String> other$gsrdhEmp = other.getGsrdhEmp();
        if (this$gsrdhEmp == null ? other$gsrdhEmp != null : !this$gsrdhEmp.equals(other$gsrdhEmp)) {
            return false;
        }
        TableColumn<GetDepotOutData, String> this$gsrdhRemaks = this.getGsrdhRemaks();
        TableColumn<GetDepotOutData, String> other$gsrdhRemaks = other.getGsrdhRemaks();
        if (this$gsrdhRemaks == null ? other$gsrdhRemaks != null : !this$gsrdhRemaks.equals(other$gsrdhRemaks)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddSerial = this.getGsrddSerial();
        TableColumn<GetDepotDetailOutData, String> other$gsrddSerial = other.getGsrddSerial();
        if (this$gsrddSerial == null ? other$gsrddSerial != null : !this$gsrddSerial.equals(other$gsrddSerial)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddProId = this.getGsrddProId();
        TableColumn<GetDepotDetailOutData, String> other$gsrddProId = other.getGsrddProId();
        if (this$gsrddProId == null ? other$gsrddProId != null : !this$gsrddProId.equals(other$gsrddProId)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proName = this.getProName();
        TableColumn<GetDepotDetailOutData, String> other$proName = other.getProName();
        if (this$proName == null ? other$proName != null : !this$proName.equals(other$proName)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proPrice = this.getProPrice();
        TableColumn<GetDepotDetailOutData, String> other$proPrice = other.getProPrice();
        if (this$proPrice == null ? other$proPrice != null : !this$proPrice.equals(other$proPrice)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddBatchNo = this.getGsrddBatchNo();
        TableColumn<GetDepotDetailOutData, String> other$gsrddBatchNo = other.getGsrddBatchNo();
        if (this$gsrddBatchNo == null ? other$gsrddBatchNo != null : !this$gsrddBatchNo.equals(other$gsrddBatchNo)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddBatch = this.getGsrddBatch();
        TableColumn<GetDepotDetailOutData, String> other$gsrddBatch = other.getGsrddBatch();
        if (this$gsrddBatch == null ? other$gsrddBatch != null : !this$gsrddBatch.equals(other$gsrddBatch)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddValidDate = this.getGsrddValidDate();
        TableColumn<GetDepotDetailOutData, String> other$gsrddValidDate = other.getGsrddValidDate();
        if (this$gsrddValidDate == null ? other$gsrddValidDate != null : !this$gsrddValidDate.equals(other$gsrddValidDate)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddStockQty = this.getGsrddStockQty();
        TableColumn<GetDepotDetailOutData, String> other$gsrddStockQty = other.getGsrddStockQty();
        if (this$gsrddStockQty == null ? other$gsrddStockQty != null : !this$gsrddStockQty.equals(other$gsrddStockQty)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddRetdepQty = this.getGsrddRetdepQty();
        TableColumn<GetDepotDetailOutData, String> other$gsrddRetdepQty = other.getGsrddRetdepQty();
        if (this$gsrddRetdepQty == null ? other$gsrddRetdepQty != null : !this$gsrddRetdepQty.equals(other$gsrddRetdepQty)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddRetdepCause = this.getGsrddRetdepCause();
        TableColumn<GetDepotDetailOutData, String> other$gsrddRetdepCause = other.getGsrddRetdepCause();
        if (this$gsrddRetdepCause == null ? other$gsrddRetdepCause != null : !this$gsrddRetdepCause.equals(other$gsrddRetdepCause)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddStartQty = this.getGsrddStartQty();
        TableColumn<GetDepotDetailOutData, String> other$gsrddStartQty = other.getGsrddStartQty();
        if (this$gsrddStartQty == null ? other$gsrddStartQty != null : !this$gsrddStartQty.equals(other$gsrddStartQty)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddReviseQty = this.getGsrddReviseQty();
        TableColumn<GetDepotDetailOutData, String> other$gsrddReviseQty = other.getGsrddReviseQty();
        if (this$gsrddReviseQty == null ? other$gsrddReviseQty != null : !this$gsrddReviseQty.equals(other$gsrddReviseQty)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$gsrddStockStatus = this.getGsrddStockStatus();
        TableColumn<GetDepotDetailOutData, String> other$gsrddStockStatus = other.getGsrddStockStatus();
        if (this$gsrddStockStatus == null ? other$gsrddStockStatus != null : !this$gsrddStockStatus.equals(other$gsrddStockStatus)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proFactoryName = this.getProFactoryName();
        TableColumn<GetDepotDetailOutData, String> other$proFactoryName = other.getProFactoryName();
        if (this$proFactoryName == null ? other$proFactoryName != null : !this$proFactoryName.equals(other$proFactoryName)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proPlace = this.getProPlace();
        TableColumn<GetDepotDetailOutData, String> other$proPlace = other.getProPlace();
        if (this$proPlace == null ? other$proPlace != null : !this$proPlace.equals(other$proPlace)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proForm = this.getProForm();
        TableColumn<GetDepotDetailOutData, String> other$proForm = other.getProForm();
        if (this$proForm == null ? other$proForm != null : !this$proForm.equals(other$proForm)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proUnit = this.getProUnit();
        TableColumn<GetDepotDetailOutData, String> other$proUnit = other.getProUnit();
        if (this$proUnit == null ? other$proUnit != null : !this$proUnit.equals(other$proUnit)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proSpecs = this.getProSpecs();
        TableColumn<GetDepotDetailOutData, String> other$proSpecs = other.getProSpecs();
        if (this$proSpecs == null ? other$proSpecs != null : !this$proSpecs.equals(other$proSpecs)) {
            return false;
        }
        TableColumn<GetDepotDetailOutData, String> this$proRegisterNo = this.getProRegisterNo();
        TableColumn<GetDepotDetailOutData, String> other$proRegisterNo = other.getProRegisterNo();
        if (this$proRegisterNo == null ? other$proRegisterNo != null : !this$proRegisterNo.equals(other$proRegisterNo)) {
            return false;
        }
        Pagination this$pagination = this.getPagination();
        Pagination other$pagination = other.getPagination();
        if (this$pagination == null ? other$pagination != null : !this$pagination.equals(other$pagination)) {
            return false;
        }
        Insets this$tableViewInsets = this.getTableViewInsets();
        Insets other$tableViewInsets = other.getTableViewInsets();
        if (this$tableViewInsets == null ? other$tableViewInsets != null : !this$tableViewInsets.equals(other$tableViewInsets)) {
            return false;
        }
        AddDepotController this$addDepotController = this.getAddDepotController();
        AddDepotController other$addDepotController = other.getAddDepotController();
        if (this$addDepotController == null ? other$addDepotController != null : !(this$addDepotController).equals(other$addDepotController)) {
            return false;
        }
        IndexController this$indexController = this.getIndexController();
        IndexController other$indexController = other.getIndexController();
        if (this$indexController == null ? other$indexController != null : !(this$indexController).equals(other$indexController)) {
            return false;
        }
        List<GetUserOutData> this$outDataList = this.getOutDataList();
        List<GetUserOutData> other$outDataList = other.getOutDataList();
        if (this$outDataList == null ? other$outDataList != null : !(this$outDataList).equals(other$outDataList)) {
            return false;
        }
        ObservableList<String> this$empOptions = this.getEmpOptions();
        ObservableList<String> other$empOptions = other.getEmpOptions();
        if (this$empOptions == null ? other$empOptions != null : !this$empOptions.equals(other$empOptions)) {
            return false;
        }
        List<String> this$emps = this.getEmps();
        List<String> other$emps = other.getEmps();
        if (this$emps == null ? other$emps != null : !(this$emps).equals(other$emps)) {
            return false;
        }
        Map<String, GetUserOutData> this$empsMap = this.getEmpsMap();
        Map<String, GetUserOutData> other$empsMap = other.getEmpsMap();
        if (this$empsMap == null ? other$empsMap != null : !(this$empsMap).equals(other$empsMap)) {
            return false;
        }
        String this$voucherId = this.getVoucherId();
        String other$voucherId = other.getVoucherId();
        return !(this$voucherId == null ? other$voucherId != null : !this$voucherId.equals(other$voucherId));
    }

    protected boolean canEqual(Object other) {
        return other instanceof DepotController;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        result = result * 59 + this.getPageSize();
        result = result * 59 + this.getDefaultPageCount();
        ObservableList<GetDepotOutData> $basicObservableTableList = this.getBasicObservableTableList();
        result = result * 59 + ($basicObservableTableList == null ? 43 : $basicObservableTableList.hashCode());
        ObservableList<GetDepotOutData> $observableTableList = this.getObservableTableList();
        result = result * 59 + ($observableTableList == null ? 43 : $observableTableList.hashCode());
        ObservableList<GetDepotDetailOutData> $detailObservableTableList = this.getDetailObservableTableList();
        result = result * 59 + ($detailObservableTableList == null ? 43 : $detailObservableTableList.hashCode());
        ScrollPane $scrollPane = this.getScrollPane();
        result = result * 59 + ($scrollPane == null ? 43 : $scrollPane.hashCode());
        VBox $vBox = this.getVBox();
        result = result * 59 + ($vBox == null ? 43 : $vBox.hashCode());
        Button $enterBtn = this.getEnterBtn();
        result = result * 59 + ($enterBtn == null ? 43 : $enterBtn.hashCode());
        Button $addBtn = this.getAddBtn();
        result = result * 59 + ($addBtn == null ? 43 : $addBtn.hashCode());
        HBox $queryHbox = this.getQueryHbox();
        result = result * 59 + ($queryHbox == null ? 43 : $queryHbox.hashCode());
        HBox $queryHbox1 = this.getQueryHbox1();
        result = result * 59 + ($queryHbox1 == null ? 43 : $queryHbox1.hashCode());
        HBox $boxView = this.getBoxView();
        result = result * 59 + ($boxView == null ? 43 : $boxView.hashCode());
        TextField $voucherIdQuery = this.getVoucherIdQuery();
        result = result * 59 + ($voucherIdQuery == null ? 43 : $voucherIdQuery.hashCode());
        TextField $amountQuery = this.getAmountQuery();
        result = result * 59 + ($amountQuery == null ? 43 : $amountQuery.hashCode());
        TextField $bathCodeQuery = this.getBathCodeQuery();
        result = result * 59 + ($bathCodeQuery == null ? 43 : $bathCodeQuery.hashCode());
        TextField $productCodeQuery = this.getProductCodeQuery();
        result = result * 59 + ($productCodeQuery == null ? 43 : $productCodeQuery.hashCode());
        ChoiceBox<GsdcEmp> $acceptPeopleQuery = this.getAcceptPeopleQuery();
        result = result * 59 + ($acceptPeopleQuery == null ? 43 : $acceptPeopleQuery.hashCode());
        ChoiceBox<GsdcStatus> $statusQuery = this.getStatusQuery();
        result = result * 59 + ($statusQuery == null ? 43 : $statusQuery.hashCode());
        DatePicker $updateDateQuery = this.getUpdateDateQuery();
        result = result * 59 + ($updateDateQuery == null ? 43 : $updateDateQuery.hashCode());
        DatePicker $acceptDateQuery = this.getAcceptDateQuery();
        result = result * 59 + ($acceptDateQuery == null ? 43 : $acceptDateQuery.hashCode());
        TableView<GetDepotOutData> $tableView = this.getTableView();
        result = result * 59 + ($tableView == null ? 43 : $tableView.hashCode());
        TableView<GetDepotOutData> $tableViewTwo = this.getTableViewTwo();
        result = result * 59 + ($tableViewTwo == null ? 43 : $tableViewTwo.hashCode());
        TableView<GetDepotDetailOutData> $tableViewThree = this.getTableViewThree();
        result = result * 59 + ($tableViewThree == null ? 43 : $tableViewThree.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhVoucherId1 = this.getGsrdhVoucherId1();
        result = result * 59 + ($gsrdhVoucherId1 == null ? 43 : $gsrdhVoucherId1.hashCode());
        TableColumn<GetDepotOutData, String> $status1 = this.getStatus1();
        result = result * 59 + ($status1 == null ? 43 : $status1.hashCode());
        TableColumn<GetDepotOutData, String> $status2 = this.getStatus2();
        result = result * 59 + ($status2 == null ? 43 : $status2.hashCode());
        TableColumn<GetDepotOutData, String> $status3 = this.getStatus3();
        result = result * 59 + ($status3 == null ? 43 : $status3.hashCode());
        TableColumn<GetDepotOutData, String> $status4 = this.getStatus4();
        result = result * 59 + ($status4 == null ? 43 : $status4.hashCode());
        TableColumn<GetDepotOutData, CheckBox> $checkBox = this.getCheckBox();
        result = result * 59 + ($checkBox == null ? 43 : $checkBox.hashCode());
        TableColumn<GetDepotOutData, String> $index = this.getIndex();
        result = result * 59 + ($index == null ? 43 : $index.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhVoucherId = this.getGsrdhVoucherId();
        result = result * 59 + ($gsrdhVoucherId == null ? 43 : $gsrdhVoucherId.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhDate = this.getGsrdhDate();
        result = result * 59 + ($gsrdhDate == null ? 43 : $gsrdhDate.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhFinishDate = this.getGsrdhFinishDate();
        result = result * 59 + ($gsrdhFinishDate == null ? 43 : $gsrdhFinishDate.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhFrom = this.getGsrdhFrom();
        result = result * 59 + ($gsrdhFrom == null ? 43 : $gsrdhFrom.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhTo = this.getGsrdhTo();
        result = result * 59 + ($gsrdhTo == null ? 43 : $gsrdhTo.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhType = this.getGsrdhType();
        result = result * 59 + ($gsrdhType == null ? 43 : $gsrdhType.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhTotalAmt = this.getGsrdhTotalAmt();
        result = result * 59 + ($gsrdhTotalAmt == null ? 43 : $gsrdhTotalAmt.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhTotalQty = this.getGsrdhTotalQty();
        result = result * 59 + ($gsrdhTotalQty == null ? 43 : $gsrdhTotalQty.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhStatus = this.getGsrdhStatus();
        result = result * 59 + ($gsrdhStatus == null ? 43 : $gsrdhStatus.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhEmp = this.getGsrdhEmp();
        result = result * 59 + ($gsrdhEmp == null ? 43 : $gsrdhEmp.hashCode());
        TableColumn<GetDepotOutData, String> $gsrdhRemaks = this.getGsrdhRemaks();
        result = result * 59 + ($gsrdhRemaks == null ? 43 : $gsrdhRemaks.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddSerial = this.getGsrddSerial();
        result = result * 59 + ($gsrddSerial == null ? 43 : $gsrddSerial.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddProId = this.getGsrddProId();
        result = result * 59 + ($gsrddProId == null ? 43 : $gsrddProId.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proName = this.getProName();
        result = result * 59 + ($proName == null ? 43 : $proName.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proPrice = this.getProPrice();
        result = result * 59 + ($proPrice == null ? 43 : $proPrice.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddBatchNo = this.getGsrddBatchNo();
        result = result * 59 + ($gsrddBatchNo == null ? 43 : $gsrddBatchNo.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddBatch = this.getGsrddBatch();
        result = result * 59 + ($gsrddBatch == null ? 43 : $gsrddBatch.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddValidDate = this.getGsrddValidDate();
        result = result * 59 + ($gsrddValidDate == null ? 43 : $gsrddValidDate.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddStockQty = this.getGsrddStockQty();
        result = result * 59 + ($gsrddStockQty == null ? 43 : $gsrddStockQty.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddRetdepQty = this.getGsrddRetdepQty();
        result = result * 59 + ($gsrddRetdepQty == null ? 43 : $gsrddRetdepQty.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddRetdepCause = this.getGsrddRetdepCause();
        result = result * 59 + ($gsrddRetdepCause == null ? 43 : $gsrddRetdepCause.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddStartQty = this.getGsrddStartQty();
        result = result * 59 + ($gsrddStartQty == null ? 43 : $gsrddStartQty.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddReviseQty = this.getGsrddReviseQty();
        result = result * 59 + ($gsrddReviseQty == null ? 43 : $gsrddReviseQty.hashCode());
        TableColumn<GetDepotDetailOutData, String> $gsrddStockStatus = this.getGsrddStockStatus();
        result = result * 59 + ($gsrddStockStatus == null ? 43 : $gsrddStockStatus.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proFactoryName = this.getProFactoryName();
        result = result * 59 + ($proFactoryName == null ? 43 : $proFactoryName.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proPlace = this.getProPlace();
        result = result * 59 + ($proPlace == null ? 43 : $proPlace.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proForm = this.getProForm();
        result = result * 59 + ($proForm == null ? 43 : $proForm.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proUnit = this.getProUnit();
        result = result * 59 + ($proUnit == null ? 43 : $proUnit.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proSpecs = this.getProSpecs();
        result = result * 59 + ($proSpecs == null ? 43 : $proSpecs.hashCode());
        TableColumn<GetDepotDetailOutData, String> $proRegisterNo = this.getProRegisterNo();
        result = result * 59 + ($proRegisterNo == null ? 43 : $proRegisterNo.hashCode());
        Pagination $pagination = this.getPagination();
        result = result * 59 + ($pagination == null ? 43 : $pagination.hashCode());
        Insets $tableViewInsets = this.getTableViewInsets();
        result = result * 59 + ($tableViewInsets == null ? 43 : $tableViewInsets.hashCode());
        AddDepotController $addDepotController = this.getAddDepotController();
        result = result * 59 + ($addDepotController == null ? 43 : ($addDepotController).hashCode());
        IndexController $indexController = this.getIndexController();
        result = result * 59 + ($indexController == null ? 43 : ($indexController).hashCode());
        List<GetUserOutData> $outDataList = this.getOutDataList();
        result = result * 59 + ($outDataList == null ? 43 : ($outDataList).hashCode());
        ObservableList<String> $empOptions = this.getEmpOptions();
        result = result * 59 + ($empOptions == null ? 43 : $empOptions.hashCode());
        List<String> $emps = this.getEmps();
        result = result * 59 + ($emps == null ? 43 : ($emps).hashCode());
        Map<String, GetUserOutData> $empsMap = this.getEmpsMap();
        result = result * 59 + ($empsMap == null ? 43 : ($empsMap).hashCode());
        String $voucherId = this.getVoucherId();
        result = result * 59 + ($voucherId == null ? 43 : $voucherId.hashCode());
        return result;
    }

    public String toString() {
        return "DepotController(pageSize=" + this.getPageSize() + ", defaultPageCount=" + this.getDefaultPageCount() + ", basicObservableTableList=" + this.getBasicObservableTableList() + ", observableTableList=" + this.getObservableTableList() + ", detailObservableTableList=" + this.getDetailObservableTableList() + ", scrollPane=" + this.getScrollPane() + ", vBox=" + this.getVBox() + ", enterBtn=" + this.getEnterBtn() + ", addBtn=" + this.getAddBtn() + ", queryHbox=" + this.getQueryHbox() + ", queryHbox1=" + this.getQueryHbox1() + ", boxView=" + this.getBoxView() + ", voucherIdQuery=" + this.getVoucherIdQuery() + ", amountQuery=" + this.getAmountQuery() + ", bathCodeQuery=" + this.getBathCodeQuery() + ", productCodeQuery=" + this.getProductCodeQuery() + ", acceptPeopleQuery=" + this.getAcceptPeopleQuery() + ", statusQuery=" + this.getStatusQuery() + ", updateDateQuery=" + this.getUpdateDateQuery() + ", acceptDateQuery=" + this.getAcceptDateQuery() + ", tableView=" + this.getTableView() + ", tableViewTwo=" + this.getTableViewTwo() + ", tableViewThree=" + this.getTableViewThree() + ", gsrdhVoucherId1=" + this.getGsrdhVoucherId1() + ", status1=" + this.getStatus1() + ", status2=" + this.getStatus2() + ", status3=" + this.getStatus3() + ", status4=" + this.getStatus4() + ", checkBox=" + this.getCheckBox() + ", index=" + this.getIndex() + ", gsrdhVoucherId=" + this.getGsrdhVoucherId() + ", gsrdhDate=" + this.getGsrdhDate() + ", gsrdhFinishDate=" + this.getGsrdhFinishDate() + ", gsrdhFrom=" + this.getGsrdhFrom() + ", gsrdhTo=" + this.getGsrdhTo() + ", gsrdhType=" + this.getGsrdhType() + ", gsrdhTotalAmt=" + this.getGsrdhTotalAmt() + ", gsrdhTotalQty=" + this.getGsrdhTotalQty() + ", gsrdhStatus=" + this.getGsrdhStatus() + ", gsrdhEmp=" + this.getGsrdhEmp() + ", gsrdhRemaks=" + this.getGsrdhRemaks() + ", gsrddSerial=" + this.getGsrddSerial() + ", gsrddProId=" + this.getGsrddProId() + ", proName=" + this.getProName() + ", proPrice=" + this.getProPrice() + ", gsrddBatchNo=" + this.getGsrddBatchNo() + ", gsrddBatch=" + this.getGsrddBatch() + ", gsrddValidDate=" + this.getGsrddValidDate() + ", gsrddStockQty=" + this.getGsrddStockQty() + ", gsrddRetdepQty=" + this.getGsrddRetdepQty() + ", gsrddRetdepCause=" + this.getGsrddRetdepCause() + ", gsrddStartQty=" + this.getGsrddStartQty() + ", gsrddReviseQty=" + this.getGsrddReviseQty() + ", gsrddStockStatus=" + this.getGsrddStockStatus() + ", proFactoryName=" + this.getProFactoryName() + ", proPlace=" + this.getProPlace() + ", proForm=" + this.getProForm() + ", proUnit=" + this.getProUnit() + ", proSpecs=" + this.getProSpecs() + ", proRegisterNo=" + this.getProRegisterNo() + ", pagination=" + this.getPagination() + ", tableViewInsets=" + this.getTableViewInsets() + ", addDepotController=" + this.getAddDepotController() + ", indexController=" + this.getIndexController() + ", outDataList=" + this.getOutDataList() + ", empOptions=" + this.getEmpOptions() + ", emps=" + this.getEmps() + ", empsMap=" + this.getEmpsMap() + ", voucherId=" + this.getVoucherId() + ")";
    }
}

